from SCBAutoLibrary.base.basekeywords import SCBBaseKeywords
from SCBAutoLibrary.behavior.common._element_extend import _ElementExtendKeywords
import time

class _ProductList(SCBBaseKeywords, _ElementExtendKeywords):
	
	def select_accout_with_account_number(self, accountNumber):
		self.selenium2lib.wait_until_page_contains_element('//*[@class="list-type-2"]')
		t_iHave = self.get_element_list_with_table_id('table-i-have')
		for row in t_iHave:
			self.selenium2lib._info(row.text)
		t_iOwe = self.get_element_list_with_table_id('table-i-owe')
		for row in t_iOwe:
			self.selenium2lib._info(row.text)

		element = self.get_element_by_text(accountNumber);
		element.click()

	def get_product_list(self):
		pass

	def get_account_with_account_number(self, accountNumber):
		pass


		
